<!-- 批量计划开服模态框 -->
<div class="modal fade" id="serverPlan-modal" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">

    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                    <span class="sr-only">Close</span>
                </button>
                <h4 class="modal-title" id="myModalLabel">计划开服批量导入</h4>
            </div>
                <div class="modal-body">
                  <p class="pull-right"><a target="_blank" href="/server_plan.xlsx">点击下载文件模板</a></p>
<?php

use Encore\Admin\Widgets\Form;

$form = new Form();
$form->action(route('server.import'));
$form->file('excel_file', '导入文件')->rules('mimes:xls,xlsx')->removable()->help('请上传Excel文件');
$form->hidden('_token')->default(csrf_token());
echo $form->render();
?>
                </div>
        </div>
      </div>
</div>
